import request from '@/utils/request'

const api_name = '/admin/sys/region'
import {call} from "@/utils/rpc";
export default {

  findRegionByKeyword(keyword) {
    return call("admin/sys/region/keyword",{key:keyword})
  },

  findByParentId(parentId) {
    return request({
      url: `${api_name}/findByParentId/${parentId}`,
      method: 'get'
    })
  }
}
